/****************************************************
          File Name:10-7.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Tue 23 Dec 2014 05:04:03 PM CST
*****************************************************/

#include<iostream>
#include"10-7.h"

int main()
{
    Plorg mine("abby cin", 10309);
    std::cout << "show default mine:\n";
    mine.show();

    std::cout << "generate a new class and show is: \n";
    Plorg another = mine.generate();
    another.show();
    
    std::cout << "modify the new class\n";
    another.modify();
    another.show();

    return 0;
}
